EMT Practice Test

1. Question Content...


Question List

Question1: Refer to the exhibits.

The mule application is debugged in Anypoint Studio and stops at the breakpoint as shown in below exhibit.
What is the value of the payload displayed in the debugger at this breakpoint?

Question2: Refer to the exhibit.

The Mule application's connectors are configured with property placeholders whose values are set in the config.yaml file What must be added to the Mule application to link the config.yaml file's values with the property placeholders?

Question3: A shopping API contains a method to look up store details by department.
To get the information for a particular store, web clients will submit requests with a query parameter named department and uri parameter named storeId What is valid RAML snippet that supports requests from a web client to get a data for a specific storeId and department name?

Question4: According to Mulesoft, how are Modern APIs treated as?

Question5: According to Semantic Versioning, which version would you change for incompatible API changes?

Question6: Refer to the exhibits.


What payload and quantity are logged at the end of the main flow?

Question7: From which application , Organization Administrators can approve/revoke/delete SLA tier access requests

Question8: Refer to the exhibit.

What is the correct syntax to add an employee ID as a URI parameter in an HTTP Listener path?

Question9: A Mule flow has three Set Variable transformers. What global data structure can be used to access the variables?

Question10: Refer to the exhibits.

A Mule application has an HTTP Request that is configured with hardcoded values. To change this, the Mule application is configured to use a properties file named config.yaml.
what valid expression can the HTTP Request host value be set to so that it is no longer hardcoded?

Question11: Refer to the exhibits.

This main mule application calls a separate flow called as ShippingAddress which returns the address corresponding to the name of the user sent to it as input. Output of this ShippingAddress is stored in a target variable named address.
Next set of requirement is to have a setPayload transformer which will set below two values
1) orderkey which needs to set to be equal to the order element received in the original request payload.
2) addressKey which needs to be set to be equal to the address received in response of ShippingAddress flow What is the straightforward way to properly configure the Set Payload transformer with the required data?


A mule application is being developed which will process POST requests coming from clients containing the name and order information. Sample request is as below

Question12: Refer to the exhibits.

The Mule application does NOT define any global error handlers.
The Validation component in the private flow throws an error
What response message is returned to a web client request to the main flow's HTTP Listener?

Question13: A Mule application configured with Autodiscovery implements an API.
Where is governance enforced for policies defined for this Mule application?

Question14: As a part of requirement , application property defined below needs to be accessed as dataweave expression. What is the correct expression to map it to port value?

Question15: A flow needs to combine and return data from two different data sources. It contains a Database SELECT operation followed by an HTTP Request operation.
What is the method to capture both payloads so the payload from the second request does not overwrite that from the first?

Question16: Refer to the exhibits.


In the Choice router, the When expression for the domesticShipping route is set to "#[payload = 'FR']". What is logged after the Choice router completes?

Question17: Which keyword do you use to create a new function in DataWeave?

Question18: Refer to the exhibits The Mule application does NOT define any global error handlers.
A web client sends a POST request to the Multi application with this input payload The File Write operation throws a FILECONNECTIVITY error What response message is returned to the web client?

Question19: Refer to the exhibit.
How should the WHERE clause be changed to set the city and state values from the configured input parameters?

A)

B)

C)

D)

Question20: Refer to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error.
What is the next step to fix this error?

Question21: Which Mule component provides a real-time, graphical representation of the APIs and mule applications that are running and discoverable?

Question22: An HTTP Request operation sends an HTTP request with a non-empty JSON object payload to an external HTTP endpoint. The response from the external HTTP endpoint returns an XML body. The result is stored in a target named the Result.
What is the payload at the event processor after the HTTP Request?

Question23: Refer to the exhibit.

The default scope in choice router recursively calls the color flow.
A web client sends a PUT request to the HTTP listener with payload Blue.
What response is returned to the web client?

Question24: Refer to the exhibits. In the choice router, the When expression for the domestic shipping route is set to "#[payload= "FR"]".
What is the output of logger after the execution of choice router is completed?

Question25: What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?

Question26: Which file is used to define the interface contract to invoke a web service implemented as a SOAP service

Question27: Refer to the exhibits.


A web client sends a POST request to the HTTP Listener with the payload "Hello-". What response is returned to the web client?
What response is returned to the web client?

Question28: A web client submits a request to http://localhost:8081/books/0471767840. The value "0471767840" is captured by a Set Variable transformer to a variable named booklSBN.
What is the DataWeave expression to access booklSBN later in the flow?

Question29: Refer to the exhibit. What is the output of logger component?

Question30: Refer to the exhibit.

What is the output payload in the On Complete phase

Question31: Refer to the exhibits.


A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?

Question32: Refer to the exhibits.


The Validation component in the Try scope throws an error.
What response message is returned to a client request to the main flow's HTTP Listener?
The Validation component in the Try scope throws an error. What response message is returned to a client request to the main flow's HTTP Listener?

Question33: What is output of Dataweave flatten function?

Question34: In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?

Question35: Refer to the exhibit.

What should be changed to fix the 415 error?

Question36: A Mule application's HTTP Listener is configured with the HTTP protocol. The HTTP listeners port attribute is configured with a property placeholder named http.port. The mule application sets the http.port property placeholder's value to 9090 The Mule application is deployed to CloudHub without setting any properties in the Runtime manager Properties tab and a log message reports the status of the HTTP listener after the Mule application deployment completes.
After the mule applications is deployed, what information is reported in the worker logs related to the port on which the Mule application's HTTP Listener listens?

Question37: Which of the module is imported automatically in Dataweave scripts?

Question38: A RAML specification is defined to manage customers with a unique identifier for each customer record. What URI does MuleSoft recommend to uniquely access the customer identified with the unique ID 1234?

Question39: Refer to the exhibit.



What payload is returned from a request to http//localhost.8081/
Refer to the exhibits, what payload is returned from a request to http://localhost;8081/?

Question40: Refer to the exhibits.


The <when> expression for the Choice router needs to be written.
What is a valid <when> expression to route Mule events to the non-default flow?

Question41: A Mule project contains a DataWeave module called MyModule.dwl that defines a function named formatString. The module is located in the project's src/main/resources/modules folder.
What is the correct way in DataWeave code to import MyModule using a wildcard and then call the module's formatString function?
A)

B)

C)

D)

Question42: An API implementation has been deployed to CloudHub and now needs to be governed. IT will not allocate additional vCore for a new Mule application to act as an API proxy.
What is the next step to preseive the current vCore usage, but still allow the Mule application to be managed by API Manager?

Question43: What is the purpose of the api:router element in APIkit?

Question44: A Mule project contains a DataWeave module file WebStore dvA that defines a function named loginUser The module file is located in the projects src/main/resources/libs/dw folder What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "[email protected]"?
A)

B)

C)

Question45: A mule project contains MySQL database dependency . The project is exported from Anypoint Studio so that it can be deployed to Cloudhub. What export options needs to be selected to create the smallest deployable archive that will successfully deploy to Cloudhub?

Question46: What DataWeave expression transforms the array a to the XML output?

Question47: In the execution of scatter gather, the "sleep 2 sec" Flow Reference takes about 2 sec to complete, and the "sleep 8 sec" Flow Reference takes about 8 sec to complete.
About how many sec does it take from the Scatter-Gather is called until the "Set Payload" transformer is called?

Question48: How many Mule applications can run on a CloudHub worker?

Question49: A company has an API to manage departments, with each department identified by a unique deptld. The API was built with RAML according to MuleSoft best practices.
What is valid RAML to specify a method to update the details for a specific department?
A)

B)

C)

D)

Question50: What valid RAML retrieves details on a specific customer by its customerId as a URI parameter?

Question51: Refer to the exhibit.

A Mule event is composed of a hierarchy of objects. Where in the hierarchy are variables stored?

Question52: How does APIkit determine the number of flows to generate from a RAML specification?

Question53: Which of the below functionality is provided by zip operator in DataWeave?

Question54: Refer to the exhibit.

What can be added to the flow to persist data across different flow executions?

Question55: An API instance of type API endpoint with API proxy is created in API manager using an API specification from Anypoint Exchange. The API instance is also configured with an API proxy that is deployed and running in CloudHub.
An SLA- based policy is enabled in API manager for this API instance.
Where can an external API consumer obtain a valid client ID and client secret to successfully send requests to the API proxy?

Question56: How can you call a subflow from Dataweave?

Question57: What is the correct syntax to define and call a function in Database?
A)

B)

C)

D)

Question58: What is the output type of the DataWeave map operator?

Question59: Refer to the exhibits. APIKit router is used to generate the flow components for RAML specification.
The Mule application must be available to REST clients using the two URL's
http://localhost:8081/internal and http://localhost:8081/external
How many APIKit Router components are generated to handle requests to every endpoint defined in RAML specification?
1. Library.raml
2. /books
3. get:
4. post:
5. /order:
6. get
7. patch
8. /members
9. get:

Question60: A Mule project contains a MySQL Database dependency. The project is exported from Anypoint Studio so it can be deployed to CloudHub.
What export options create the smallest deployable archive that will successfully deploy to CloudHub?
What export option create their smallest deployable archive that will successfully deploy to CloudHub?
A)

B)

C)

D)

Question61: A company has defined two RAML fragments, Book Data Type and Book Example to be used in APIs.
What would be valid RAML to use these fragments ?

Question62: What path setting is required for an HTTP Listener endpoint to route all requests to an APIkit router?

Question63: What execution model is used by For Each and Batch Job scopes?

Question64: A REST connect module is generated for a RAML specification. and then the rest connect module is imported in mule application in Anypoint Studio. For each method of the RAML specification , what does the REST connect module provide?

Question65: A Utility.dwl file is located in a Mule project at src/main/resources/modules. The Utility.dwl hie defines a function named pascalize that reformats strings to pascal case.
What is the correct DataWeave to call the pascalize function in a Transform Message component?
A)

B)

C)

D)

Question66: Where would you create SLA Tiers for an API?

Question67: Refer to the exhibit.

The API needs to be updated using the company-wide standard for the Plan data type. The Object data type has already been published in Anypoint Exchange with the global reference . ACME/DataTypes/PlanDataType.raml.
What is a valid RAML specification that reuses the Plan data type?
A)

B)

C)

D)

Question68: Refer to the exhibit.

What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener's path attribute?

Question69: Refer to the exhibit.

This RAML specification includes a resource and method to retrieve accounts by account_type and industry.
What is the correct URI to get all retail finance accounts?

Question70: How we can scale deployed Mule application vertically on cloudhub?

Question71: What MuleSoft product enables publishing, sharing, and searching of APIs?

Question72: Refer to exhibits.

In the execution of the Scatter-Gather , the flow route completes after 10 seconds and the flow2 route completes in 40 seconds. How many seconds does it take for the Scatter-Gather to complete?

Question73: According to MuleSoft, what is the Center for Enablement's role in the new IT operating model?

Question74: Why would a Mule application use the ${http.port} property placeholder for its HTTP Listener port when it is deployed to CloudHub?

Question75: Refer to the exhibit.

In the execution of the Scatter_Gather, the flow1 route completes after 10 seconds and the flow2 route completes after 20 seconds.
How many seconds does it take for the Scatter_Gather to complete?

Question76: What is minimal requirement in a flow for a Mule application to compile?

Question77: Refer to the exhibits.

What DataWeave expression transforms the conductorIds array to the XML output?

Question78: Refer to the exhibits. A company has defined this Book data type and Book example to be used in APIs. What is valid RAML for an API that uses this Book data type and Book example?

A)

B)

C)

D)

Question79: What is the object type returned by the File List operation?